/*    */
package com.liang.manage.auth.facade.dto.user.chat;
/*    */
/*    */

import java.time.LocalDateTime;
/*    */ import java.util.List;
/*    */ import org.springframework.data.annotation.Id;
/*    */ import org.springframework.data.mongodb.core.mapping.Document;

/*    */
/*    */
@Document("groups")
/*    */ public class ChatGroup
        /*    */ {
    /*    */
    /*    */
    @Id
    /*    */ private String id;
    /*    */   private String announcement;
    /*    */   private Boolean isDefault;
    /*    */   private List<String> members;
    /*    */   private String name;
    /*    */   private String avatar;
    /*    */   private String creator;
    /*    */   private LocalDateTime createTime;
    /*    */   private Integer __v;

    /*    */
    /*    */
    public String getId()
    /*    */ {
        /* 18 */
        return this.id;
        /*    */
    }

    /* 20 */
    public String getAnnouncement() {
        return this.announcement;
    }

    /*    */
    public Boolean getIsDefault() {
        /* 22 */
        return this.isDefault;
        /*    */
    }

    /* 24 */
    public List<String> getMembers() {
        return this.members;
    }

    /*    */
    public String getName() {
        /* 26 */
        return this.name;
        /*    */
    }

    /* 28 */
    public String getAvatar() {
        return this.avatar;
    }

    /*    */
    public String getCreator() {
        /* 30 */
        return this.creator;
        /*    */
    }

    /* 32 */
    public LocalDateTime getCreateTime() {
        return this.createTime;
    }

    /*    */
    public Integer get__v() {
        /* 34 */
        return this.__v;
        /*    */
    }

    /*    */
    /*    */
    public void setId(String id)
    /*    */ {
        /* 14 */
        this.id = id;
    }

    /* 14 */
    public void setAnnouncement(String announcement) {
        this.announcement = announcement;
    }

    /* 14 */
    public void setIsDefault(Boolean isDefault) {
        this.isDefault = isDefault;
    }

    /* 14 */
    public void setMembers(List<String> members) {
        this.members = members;
    }

    /* 14 */
    public void setName(String name) {
        this.name = name;
    }

    /* 14 */
    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    /* 14 */
    public void setCreator(String creator) {
        this.creator = creator;
    }

    /* 14 */
    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    /* 14 */
    public void set__v(Integer __v) {
        this.__v = __v;
    }

    /* 14 */
    public boolean equals(Object o) {
        if (o == this) return true;
        if (!(o instanceof ChatGroup)) return false;
        ChatGroup other = (ChatGroup) o;
        if (!other.canEqual(this)) return false;
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) return false;
        Object this$announcement = getAnnouncement();
        Object other$announcement = other.getAnnouncement();
        if (this$announcement == null ? other$announcement != null : !this$announcement.equals(other$announcement))
            return false;
        Object this$isDefault = getIsDefault();
        Object other$isDefault = other.getIsDefault();
        if (this$isDefault == null ? other$isDefault != null : !this$isDefault.equals(other$isDefault)) return false;
        Object this$members = getMembers();
        Object other$members = other.getMembers();
        if (this$members == null ? other$members != null : !this$members.equals(other$members)) return false;
        Object this$name = getName();
        Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) return false;
        Object this$avatar = getAvatar();
        Object other$avatar = other.getAvatar();
        if (this$avatar == null ? other$avatar != null : !this$avatar.equals(other$avatar)) return false;
        Object this$creator = getCreator();
        Object other$creator = other.getCreator();
        if (this$creator == null ? other$creator != null : !this$creator.equals(other$creator)) return false;
        Object this$createTime = getCreateTime();
        Object other$createTime = other.getCreateTime();
        if (this$createTime == null ? other$createTime != null : !this$createTime.equals(other$createTime))
            return false;
        Object this$__v = get__v();
        Object other$__v = other.get__v();
        return this$__v == null ? other$__v == null : this$__v.equals(other$__v);
    }

    /* 14 */
    protected boolean canEqual(Object other) {
        return other instanceof ChatGroup;
    }

    /* 14 */
    public int hashCode() {
        int PRIME = 59;
        int result = 1;
        Object $id = getId();
        result = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $announcement = getAnnouncement();
        result = result * 59 + ($announcement == null ? 43 : $announcement.hashCode());
        Object $isDefault = getIsDefault();
        result = result * 59 + ($isDefault == null ? 43 : $isDefault.hashCode());
        Object $members = getMembers();
        result = result * 59 + ($members == null ? 43 : $members.hashCode());
        Object $name = getName();
        result = result * 59 + ($name == null ? 43 : $name.hashCode());
        Object $avatar = getAvatar();
        result = result * 59 + ($avatar == null ? 43 : $avatar.hashCode());
        Object $creator = getCreator();
        result = result * 59 + ($creator == null ? 43 : $creator.hashCode());
        Object $createTime = getCreateTime();
        result = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $__v = get__v();
        result = result * 59 + ($__v == null ? 43 : $__v.hashCode());
        return result;
    }

    /* 14 */
    public String toString() {
        return "ChatGroup(id=" + getId() + ", announcement=" + getAnnouncement() + ", isDefault=" + getIsDefault() + ", members=" + getMembers() + ", name=" + getName() + ", avatar=" + getAvatar() + ", creator=" + getCreator() + ", createTime=" + getCreateTime() + ", __v=" + get__v() + ")";
    }
    /*    */
    /*    */
}

/* Location:           C:\maven\maven3.5\maven3.5\repositor\io\github\maliangnansheng\nansheng-common\3.3.4\nansheng-common-3.3.4.jar
 * Qualified Name:     com.liang.manage.auth.facade.dto.user.chat.ChatGroup
 * JD-Core Version:    0.6.2
 */